package com.ayg.openapi.model.request.risk;

import com.ayg.openapi.model.request.IBaseParam;
import com.ayg.openapi.model.response.risk.RiskSyncPrepareUnifiedOrderResult;

/**
 * @program: openapi-java-sdk
 * @description: 同步发放结果类
 * @author: mccken
 * @create: 2019-06-13 11:55
 **/
public class RiskSyncPrepareUnifiedOrderParam implements IBaseParam<RiskSyncPrepareUnifiedOrderResult> {

	/**
	 * 发放风控预授权时的外部订单号
	 */
	private String outOrderNo;

	/**
	 * 发放结果状态码  30:成功 40:失败
	 */
	private String state;

	/**
	 * 发放结果描述
	 */
	private String msg;

	public String getOutOrderNo() {
		return outOrderNo;
	}

	public void setOutOrderNo(String outOrderNo) {
		this.outOrderNo = outOrderNo;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String requestURI() {
		return "/deliver/dlvopenapi/api/app/risk/sync-prepare-unified-order";
	}

	@Override
	public String methodName() {
		return "ayg.risk.syncPrepareUnifiedOrder";
	}

	@Override
	public String version() {
		return "1.0";
	}

	@Override
	public Class<?> respDataClass() {
		return RiskSyncPrepareUnifiedOrderResult.class;
	}
}
